using System;
using System.Collections.Generic;
using System.Text;

namespace Models
{
    public class WorksPicInfo
    {


        private int _PicID;

        /// <summary>
        /// PicID
        /// </summary>
        public int PicID {
            get { return this._PicID; }
            set { this._PicID = value; }
        }

        private int _WorksID;

        /// <summary>
        /// WorksID
        /// </summary>
        public int WorksID {
            get { return this._WorksID; }
            set { this._WorksID = value; }
        }

        private string _PicName;

        /// <summary>
        /// PicName
        /// </summary>
        public string PicName {
            get { return this._PicName; }
            set { this._PicName = value; }
        }

        private string _PicURL;

        /// <summary>
        /// PicURL
        /// </summary>
        public string PicURL {
            get { return this._PicURL; }
            set { this._PicURL = value; }
        }

        private int _TopFlag;

        /// <summary>
        /// TopFlag
        /// </summary>
        public int TopFlag {
            get { return this._TopFlag; }
            set { this._TopFlag = value; }
        }

        private int _PicLevel;

        /// <summary>
        /// PicLevel
        /// </summary>
        public int PicLevel {
            get { return this._PicLevel; }
            set { this._PicLevel = value; }
        }

        public string PicTopCheck {
            get {
                if (this.TopFlag == 1)
                {
                    return "checked='checked'";
                }
                else {
                    return "";
                }
            }
        }

    }
}
